<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Auth Server Page</title>
</head>
<body>
<h2><span th:text="${username}"></span>, Are you sure you want the authrization code?</h2>
<form action="/oauth2/authorize" method="post">
    <div th:each="scope : ${scopes}">
        <input type="checkbox" name="scope" th:value="${scope}" checked/><span th:text="${scope}"></span>
    </div>
    <input type="hidden" name="response_type" th:value="${response_type}" />
    <input type="hidden" name="redirect_uri" th:value="${redirect_uri}" />
    <input type="hidden" name="appId" th:value="${appId}" />
    <input type="submit" value="授权">
</form>
</body>
</html>